package com.zhm.springcloud;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.zhm.springcloud.entities.CommonResult;
import com.zhm.springcloud.entities.Payment;

/**
 * Date： 2021/3/20 19:28
 *
 * @author ZHM
 */
public class ConsumerBlockHandler {

    public static CommonResult handlerException(BlockException exception) {
        return new CommonResult(4444, "按客戶自定义,global handlerException ---------------111");
    }

    public static CommonResult handlerException2(BlockException exception) {
        return new CommonResult(4444, "按客戶自定义,global handlerException----------------2222");
    }

}
